﻿<%@ Page Language="C#" enableEventValidation="false" AutoEventWireup="true" CodeFile="wasteBookAdd.aspx.cs" Inherits="Finance_wasteBookAdd" %>
<html>
<head id="Head1" runat="server">
<title>财务流水帐</title>
<link href="../css/adminCss.css" rel="stylesheet" type="text/css" />
 <script type="text/javascript" src="../js/submit.js"></script>
<script type="text/javascript" src="../js/rl.js"></script>
<script type="text/javascript">
function dispAdd()
{
	document.getElementById("flag").style.display="none";
}
</script>
</head>
<body style="text-align: center">
    <form id="form1" runat="server">
        <table width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="25" height="22"><img src="../images/module.gif" width="20" height="22"></td>
                <td style="width: 310px; text-align: left;">
                    &nbsp;<asp:Label ID="lblPath" runat="server"></asp:Label></td>
                <td align="right"><font color="red"> [ <a href="javascript:location.href=document.referrer;" ><font color="red">返回</font></a> ]</font>&nbsp;</td>
            </tr>
        </table>
        <table width="99%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td bgcolor="#3CB6E5" height="5px">
                </td>
            </tr>
        </table>
        <div>
            <table cellpadding="1" cellspacing="1" class="tabGg" width="99%" id="document">
                <tr>
                    <td width="15%" bgcolor="#FFFFFF" class="r_bg" style="height: 24px">
                        选择部门：                    </td>
                    <td width="35%" align="left" bgcolor="#FFFFFF" class="right_bg" style="height: 24px">
                        <asp:DropDownList ID="departmentId" runat="server" onChange="redirec(this.options.selectedIndex)" check_null="选择部门不能为空">
                        </asp:DropDownList></td>
                    <td width="15%" bgcolor="#FFFFFF" class="r_bg" style="height: 24px">选择人员：</td>
                    <td width="35%" align="left" bgcolor="#FFFFFF" class="right_bg" style="height: 24px">
                        <asp:DropDownList ID="userId" runat="server" check_null="选择人员不能为空">
                            <asp:ListItem  Value="">选择人员</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td bgcolor="#FFFFFF" class="r_bg">财务分类：</td>
                    <td align="left" bgcolor="#FFFFFF" class="right_bg">
                        <asp:DropDownList ID="financeType" runat="server">
                            <asp:ListItem  Value="+">+收入</asp:ListItem>
                            <asp:ListItem  Value="-">-支出</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td align="left" bgcolor="#FFFFFF" class="r_bg">发生金额：</td>
                    <td align="left" bgcolor="#FFFFFF" class="right_bg">
                        <asp:TextBox ID="financeMoney" runat="server" CssClass="input1" check_null="发生金额不能为空"  check_money="发生金额必须为货币型,小数最多只能两位"></asp:TextBox> 
                        元</td>
                </tr>
                <tr>
                    <td bgcolor="#ffffff" class="r_bg">凭证号码：</td>
                    <td align="left" bgcolor="#ffffff" class="right_bg">
                        <asp:TextBox ID="financeCode" runat="server" CssClass="input1"></asp:TextBox></td>
                    <td align="left" bgcolor="#ffffff" class="r_bg">支付方式：</td>
                    <td align="left" bgcolor="#ffffff" class="right_bg">
                        <asp:DropDownList ID="PaymentMethods" runat="server">
                            <asp:ListItem  Value="现金">现金</asp:ListItem>
                            <asp:ListItem  Value="支票">支票</asp:ListItem>
                            <asp:ListItem  Value="转帐">转帐</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td bgcolor="#FFFFFF" class="r_bg">费用说明：</td>
                    <td align="left" bgcolor="#FFFFFF" class="right_bg" colspan="3">
                        <asp:TextBox ID="Remark" runat="server" CssClass="input1" TextMode="MultiLine" Height="80px" Width="331px" check_null="费用说明不能为空"></asp:TextBox></td>
                </tr>
                <tr id="flag">
                    <td bgcolor="#FFFFFF" class="r_bg">审核状态：</td>
                    <td align="left" bgcolor="#FFFFFF" class="right_bg" colspan="3"><input name="AuditState" id="AuditState" runat="server" type="radio" value="1" checked />通过  <input name="AuditState" id="AuditState1" runat="server" type="radio" value="0"/>不通过</td>
                </tr>
                <tr>
                    <td bgcolor="#ffffff" class="r_bg" >
                        操作人员：</td>
                    <td width="35%" bgcolor="#ffffff" class="right_bg" style="text-align: left">
                        <asp:Label ID="EditUserName" runat="server"></asp:Label></td>
                    <td bgcolor="#ffffff" class="r_bg">
                        &nbsp;操作时间：</td>
                    <td width="35%" bgcolor="#ffffff" class="right_bg" style="text-align: left">
                        <asp:TextBox ID="EditDate" runat="server" check_null="操作时间不能为空" CssClass="input1" onclick="SelectDate(this.name)"></asp:TextBox></td>
                </tr>
                <tr>
                    <td bgcolor="#FFFFFF" class="r_bg" >                    </td>
                    <td colspan="3" bgcolor="#FFFFFF" class="right_bg" style="text-align: left">
                        <asp:Button ID="btnSave" runat="server" CssClass="submit" OnClientClick="return checknull(this.form)" Text=" 提交 " OnClick="btnSave_Click" /></td>
                </tr>
            </table>
            <asp:Label ID="lbljsOptions" runat="server"></asp:Label>
            <asp:HiddenField ID="hidId" runat="server" />
            <asp:HiddenField ID="hidModuid" runat="server" />
        </div>
    </form>
</body>
</html>
